﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:local="clr-namespace:myTwitter"
  xmlns:CustomControls="clr-namespace:myTwitter.CustomControls"
	xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
	xmlns:myTwitter_Converters="clr-namespace:myTwitter.Converters"
	xmlns:myTwitter_Model="clr-namespace:myTwitter.Model"
	xmlns:myBoard_Framework_Controls="clr-namespace:myBoard.Framework.Controls;assembly=myBoard.Framework"
	xmlns:SampleData="clr-namespace:Expression.Blend.SampleData.Mok"
	xmlns:myBoard_Framework_Controls_Navigation="clr-namespace:myBoard.Framework.Controls.Navigation;assembly=myBoard.Framework"
	x:Class="myTwitter.Navigator"
	x:Name="UserControl">

	<UserControl.Resources>
		<SampleData:Mok x:Key="Mok" d:IsDataSource="True"/>
		<SolidColorBrush x:Key="CheckBoxStroke" Color="#8E8F8F"/>
		<Style x:Key="CheckRadioFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="14,0,0,0" SnapsToDevicePixels="true"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="TabStyle" TargetType="{x:Type RadioButton}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="#F4F4F4"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type RadioButton}">
						<Border x:Name="border" Margin="{TemplateBinding Padding}" BorderThickness="1,1,1,0" BorderBrush="#FF478CBF">
							<Border x:Name="border1" Width="Auto" Height="Auto">
								<Border.Background>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF112D3F" Offset="0.033"/>
										<GradientStop Color="#FF1B3B50" Offset="1"/>
										<GradientStop Color="#FF102D3F" Offset="0.075"/>
										<GradientStop Color="#FF102D3F" Offset="0.274"/>
									</LinearGradientBrush>
								</Border.Background>
								<Grid Width="Auto" Height="Auto">
									<Grid.RowDefinitions>
										<RowDefinition Height="0.559*"/>
										<RowDefinition Height="0.441*"/>
									</Grid.RowDefinitions>
									<ContentPresenter RecognizesAccessKey="True" Margin="10,5,10,5" Width="Auto" Height="Auto" Grid.RowSpan="2"/>
									<Border x:Name="border2" Margin="1,1,1,0" Width="Auto" Height="Auto" d:LayoutOverrides="Width, Height">
										<Border.Background>
											<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
												<GradientStop Color="#8469A4CE" Offset="0"/>
												<GradientStop Color="#00658196" Offset="1"/>
											</LinearGradientBrush>
										</Border.Background>
									</Border>
									<Rectangle x:Name="_bottomBar" Fill="#FF112D3F" Stroke="{x:Null}" Grid.RowSpan="2" Height="1" VerticalAlignment="Bottom" Margin="0,0,0,-1"/>
								</Grid>
							</Border>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="False">
								<Setter Property="BorderBrush" TargetName="border" Value="#FF07151F"/>
								<Setter Property="Background" TargetName="border1">
									<Setter.Value>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="#FF133348" Offset="0.057"/>
											<GradientStop Color="#FF102D3F" Offset="0.72"/>
											<GradientStop Color="#FF091924" Offset="0.078"/>
										</LinearGradientBrush>
									</Setter.Value>
								</Setter>
								<Setter Property="Opacity" TargetName="border2" Value="0"/>
								<Setter Property="Fill" TargetName="_bottomBar" Value="#FF478CBF"/>
							</Trigger>
							<Trigger Property="HasContent" Value="true">
								<Setter Property="FocusVisualStyle" Value="{StaticResource CheckRadioFocusVisual}"/>
								<Setter Property="Padding" Value="4,0,0,0"/>
							</Trigger>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="2" SnapsToDevicePixels="true"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#F3F3F3" Offset="0"/>
			<GradientStop Color="#EBEBEB" Offset="0.5"/>
			<GradientStop Color="#DDDDDD" Offset="0.5"/>
			<GradientStop Color="#CDCDCD" Offset="1"/>
		</LinearGradientBrush>
		<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
		<Style x:Key="SearchBtTemplate" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
								<ContentPresenter Width="44.812" Height="23.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True"/>
							</Border>
						<ControlTemplate.Triggers>							
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Storyboard x:Key="ShowSearchControl">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="34" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_tabControl" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="422" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="HideSearchControl">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="5" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_tabControl" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="452" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<LinearGradientBrush x:Key="TextBoxBorder" EndPoint="0,20" StartPoint="0,0" MappingMode="Absolute">
			<GradientStop Color="#ABADB3" Offset="0.05"/>
			<GradientStop Color="#E2E3EA" Offset="0.07"/>
			<GradientStop Color="#E3E9EF" Offset="1"/>
		</LinearGradientBrush>
		<myTwitter_Converters:CharactersLeftConverter x:Key="CharactersLeftConverter"/>
		<ControlTemplate x:Key="ScrollViewerControlTemplate1" TargetType="{x:Type ScrollViewer}">
			<Grid x:Name="Grid" Background="{TemplateBinding Background}">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"/>
					<ColumnDefinition Width="Auto"/>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"/>
					<RowDefinition Height="Auto"/>
				</Grid.RowDefinitions>
				<Rectangle x:Name="Corner" Fill="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" Grid.Column="1" Grid.Row="1"/>
				<ScrollContentPresenter x:Name="PART_ScrollContentPresenter" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" Grid.Column="0" Grid.Row="0" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False"/>
				<ScrollBar x:Name="PART_VerticalScrollBar" Cursor="Arrow" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" AutomationProperties.AutomationId="VerticalScrollBar" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}"/>
				<ScrollBar x:Name="PART_HorizontalScrollBar" Cursor="Arrow" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" AutomationProperties.AutomationId="HorizontalScrollBar" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{Binding HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}"/>
			</Grid>
		</ControlTemplate>
		<Style x:Key="MessageTextboxStyle" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
			<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="AllowDrop" Value="true"/>
			<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type TextBox}">
						<Microsoft_Windows_Themes:ListBoxChrome x:Name="Bd" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" RenderFocused="{TemplateBinding IsKeyboardFocusWithin}" RenderMouseOver="{TemplateBinding IsMouseOver}">
							<Grid Height="Auto">
								<TextBlock x:Name="_charLeft" HorizontalAlignment="Right" VerticalAlignment="Top" FontFamily="Century Gothic" FontSize="30" FontStyle="Italic" TextWrapping="Wrap" Text="{TemplateBinding Text, Converter={StaticResource CharactersLeftConverter}}">
									<TextBlock.Foreground>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="#FFBBBBBB" Offset="0"/>
											<GradientStop Color="#FFDCDCDC" Offset="1"/>
										</LinearGradientBrush>
									</TextBlock.Foreground>
								</TextBlock>
								<ScrollViewer x:Name="PART_ContentHost" Margin="0,0,0,-0.001" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" d:LayoutOverrides="Height" Template="{DynamicResource ScrollViewerControlTemplate1}"/>
							</Grid>
						</Microsoft_Windows_Themes:ListBoxChrome>
						<ControlTemplate.Triggers>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle1" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border Margin="{TemplateBinding Padding}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="5,5,5,5">
							<Border Width="Auto" Height="Auto" BorderBrush="#FF2F566E" BorderThickness="1,1,1,1" CornerRadius="4,4,4,4">
								<Grid>
									<Grid.RowDefinitions>
										<RowDefinition Height="0.513*"/>
										<RowDefinition Height="0.487*"/>
									</Grid.RowDefinitions>
									<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.RowSpan="2"/>
									<Rectangle Stroke="{x:Null}" Height="Auto" VerticalAlignment="Stretch" RadiusY="3.5" RadiusX="3.5">
										<Rectangle.Fill>
											<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
												<GradientStop Color="#60FFFFFF" Offset="0"/>
												<GradientStop Color="#18FFFFFF" Offset="1"/>
											</LinearGradientBrush>
										</Rectangle.Fill>
									</Rectangle>
								</Grid>
							</Border>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="BottomButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border Margin="{TemplateBinding Padding}" BorderThickness="1,1,1,1" CornerRadius="3,3,3,3">
							<Border.BorderBrush>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FF2F5E7D" Offset="0"/>
									<GradientStop Color="#FF102B3E" Offset="0.224"/>
								</LinearGradientBrush>
							</Border.BorderBrush>
							<Border Width="102" Height="Auto" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2">
								<ContentPresenter Width="Auto" Height="Auto" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" VerticalAlignment="Center"/>
							</Border>
						</Border>
						<ControlTemplate.Triggers>
							
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Storyboard x:Key="ShowNewTwittControl">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_newTweetBlock" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="80" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_tabControl" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="372"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="HideNewTwittControl">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_newTweetBlock" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0" KeySpline="0,1,1,1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_tabControl" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="00:00:00.3000000" Value="452"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Style x:Key="TabItemFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="3,3,3,1" SnapsToDevicePixels="true"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<SolidColorBrush x:Key="TabControlNormalBorderBrush" Color="#8C8E94"/>
		<LinearGradientBrush x:Key="TabItemHotBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#EAF6FD" Offset="0.15"/>
			<GradientStop Color="#D9F0FC" Offset=".5"/>
			<GradientStop Color="#BEE6FD" Offset=".5"/>
			<GradientStop Color="#A7D9F5" Offset="1"/>
		</LinearGradientBrush>
		<SolidColorBrush x:Key="TabItemSelectedBackground" Color="#F9F9F9"/>
		<SolidColorBrush x:Key="TabItemHotBorderBrush" Color="#3C7FB1"/>
		<SolidColorBrush x:Key="TabItemDisabledBackground" Color="#F4F4F4"/>
		<SolidColorBrush x:Key="TabItemDisabledBorderBrush" Color="#FFC9C7BA"/>
		<Style x:Key="NavigatorTabStyle" TargetType="{x:Type TabItem}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource TabItemFocusVisual}"/>
			<Setter Property="Foreground" Value="Black"/>
			<Setter Property="Padding" Value="6,1,6,1"/>
			<Setter Property="BorderBrush" Value="{StaticResource TabControlNormalBorderBrush}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
			<Setter Property="VerticalContentAlignment" Value="Stretch"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type TabItem}">
						<Grid SnapsToDevicePixels="true">
							<Border x:Name="Bd" Background="{TemplateBinding Background}" BorderBrush="#FF478CBF" BorderThickness="1,1,1,0">
								<Border x:Name="border" BorderBrush="#FF133348" BorderThickness="1,1,1,0" HorizontalAlignment="Stretch" Background="#FF1B3B50">
									<Grid>
										<Grid.RowDefinitions>
											<RowDefinition Height="0.519*"/>
											<RowDefinition Height="0.481*"/>
										</Grid.RowDefinitions>
										<Border x:Name="border1" HorizontalAlignment="Stretch" MinWidth="38" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Grid.RowSpan="1">
											<Border.Background>
												<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
													<GradientStop Color="#FF236494" Offset="0"/>
													<GradientStop Color="#001D5177" Offset="1"/>
												</LinearGradientBrush>
											</Border.Background>
										</Border>
										<ContentPresenter x:Name="Content" HorizontalAlignment="Center" VerticalAlignment="Center" Width="Auto" Height="Auto" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="Header" RecognizesAccessKey="True" Grid.RowSpan="2"/>
									</Grid>
								</Border>
							</Border>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsMouseOver" Value="true">
								<Setter Property="Background" TargetName="Bd" Value="{StaticResource TabItemHotBackground}"/>
							</Trigger>
							<Trigger Property="IsSelected" Value="true">
								<Setter Property="Panel.ZIndex" Value="1"/>
								<Setter Property="Background" TargetName="Bd" Value="{StaticResource TabItemSelectedBackground}"/>
							</Trigger>
							<Trigger Property="Selector.IsSelected" Value="False">
								<Setter Property="BorderBrush" TargetName="Bd" Value="#FF07151F"/>
								<Setter Property="Background" TargetName="border">
									<Setter.Value>
										<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
											<GradientStop Color="#FF091924" Offset="0"/>
											<GradientStop Color="#FF0F293B" Offset="1"/>
											<GradientStop Color="#FF0E283A" Offset="0.515"/>
										</LinearGradientBrush>
									</Setter.Value>
								</Setter>
								<Setter Property="Visibility" TargetName="border1" Value="Hidden"/>
							</Trigger>
							<MultiTrigger>
								<MultiTrigger.Conditions>
									<Condition Property="IsSelected" Value="false"/>
									<Condition Property="IsMouseOver" Value="true"/>
								</MultiTrigger.Conditions>
								<Setter Property="BorderBrush" TargetName="Bd" Value="#FF478CBF"/>
							</MultiTrigger>
							<Trigger Property="TabStripPlacement" Value="Bottom">
								<Setter Property="BorderThickness" TargetName="Bd" Value="1,0,1,1"/>
							</Trigger>
							<Trigger Property="TabStripPlacement" Value="Left">
								<Setter Property="BorderThickness" TargetName="Bd" Value="1,1,0,1"/>
							</Trigger>
							<Trigger Property="TabStripPlacement" Value="Right">
								<Setter Property="BorderThickness" TargetName="Bd" Value="0,1,1,1"/>
							</Trigger>
							<MultiTrigger>
								<MultiTrigger.Conditions>
									<Condition Property="IsSelected" Value="true"/>
									<Condition Property="TabStripPlacement" Value="Top"/>
								</MultiTrigger.Conditions>
								<Setter Property="Margin" Value="-2,-2,-2,-1"/>
								<Setter Property="Margin" TargetName="Content" Value="0,0,0,1"/>
							</MultiTrigger>
							<MultiTrigger>
								<MultiTrigger.Conditions>
									<Condition Property="IsSelected" Value="true"/>
									<Condition Property="TabStripPlacement" Value="Bottom"/>
								</MultiTrigger.Conditions>
								<Setter Property="Margin" Value="-2,-1,-2,-2"/>
								<Setter Property="Margin" TargetName="Content" Value="0,1,0,0"/>
							</MultiTrigger>
							<MultiTrigger>
								<MultiTrigger.Conditions>
									<Condition Property="IsSelected" Value="true"/>
									<Condition Property="TabStripPlacement" Value="Left"/>
								</MultiTrigger.Conditions>
								<Setter Property="Margin" Value="-2,-2,-1,-2"/>
								<Setter Property="Margin" TargetName="Content" Value="0,0,1,0"/>
							</MultiTrigger>
							<MultiTrigger>
								<MultiTrigger.Conditions>
									<Condition Property="IsSelected" Value="true"/>
									<Condition Property="TabStripPlacement" Value="Right"/>
								</MultiTrigger.Conditions>
								<Setter Property="Margin" Value="-1,-2,-2,-2"/>
								<Setter Property="Margin" TargetName="Content" Value="1,0,0,0"/>
							</MultiTrigger>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Background" TargetName="Bd" Value="{StaticResource TabItemDisabledBackground}"/>
								<Setter Property="BorderBrush" TargetName="Bd" Value="{StaticResource TabItemDisabledBorderBrush}"/>
								<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="NavigatorTabControlStyle" TargetType="{x:Type TabControl}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Padding" Value="4,4,4,4"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="BorderBrush" Value="{StaticResource TabControlNormalBorderBrush}"/>
			<Setter Property="Background" Value="#F9F9F9"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type TabControl}">
						<Grid ClipToBounds="true" SnapsToDevicePixels="true" KeyboardNavigation.TabNavigation="Local">
							<Grid.ColumnDefinitions>
								<ColumnDefinition x:Name="ColumnDefinition0"/>
								<ColumnDefinition x:Name="ColumnDefinition1" Width="0"/>
							</Grid.ColumnDefinitions>
							<Grid.RowDefinitions>
								<RowDefinition x:Name="RowDefinition0" Height="Auto"/>
								<RowDefinition x:Name="RowDefinition1" Height="*"/>
							</Grid.RowDefinitions>
							<TabPanel x:Name="HeaderPanel" Margin="2,2,2,0" IsItemsHost="true" Panel.ZIndex="1" Grid.Column="0" Grid.Row="0" KeyboardNavigation.TabIndex="1"/>
							<Border x:Name="ContentPanel" Grid.Column="0" Grid.Row="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabIndex="2" KeyboardNavigation.TabNavigation="Local">
								<ContentPresenter x:Name="PART_SelectedContentHost" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="SelectedContent"/>
							</Border>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="TabStripPlacement" Value="Bottom">
								<Setter Property="Grid.Row" TargetName="HeaderPanel" Value="1"/>
								<Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
								<Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
								<Setter Property="Height" TargetName="RowDefinition1" Value="Auto"/>
								<Setter Property="Margin" TargetName="HeaderPanel" Value="2,0,2,2"/>
							</Trigger>
							<Trigger Property="TabStripPlacement" Value="Left">
								<Setter Property="Grid.Row" TargetName="HeaderPanel" Value="0"/>
								<Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
								<Setter Property="Grid.Column" TargetName="HeaderPanel" Value="0"/>
								<Setter Property="Grid.Column" TargetName="ContentPanel" Value="1"/>
								<Setter Property="Width" TargetName="ColumnDefinition0" Value="Auto"/>
								<Setter Property="Width" TargetName="ColumnDefinition1" Value="*"/>
								<Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
								<Setter Property="Height" TargetName="RowDefinition1" Value="0"/>
								<Setter Property="Margin" TargetName="HeaderPanel" Value="2,2,0,2"/>
							</Trigger>
							<Trigger Property="TabStripPlacement" Value="Right">
								<Setter Property="Grid.Row" TargetName="HeaderPanel" Value="0"/>
								<Setter Property="Grid.Row" TargetName="ContentPanel" Value="0"/>
								<Setter Property="Grid.Column" TargetName="HeaderPanel" Value="1"/>
								<Setter Property="Grid.Column" TargetName="ContentPanel" Value="0"/>
								<Setter Property="Width" TargetName="ColumnDefinition0" Value="*"/>
								<Setter Property="Width" TargetName="ColumnDefinition1" Value="Auto"/>
								<Setter Property="Height" TargetName="RowDefinition0" Value="*"/>
								<Setter Property="Height" TargetName="RowDefinition1" Value="0"/>
								<Setter Property="Margin" TargetName="HeaderPanel" Value="0,2,2,2"/>
							</Trigger>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<myTwitter_Model:Singletons x:Key="SingletonsDataSource" d:IsDataSource="True"/>
		<DataTemplate x:Key="TrendTopicDataTemplate">
			<Border BorderBrush="{x:Null}" Margin="0,0,30,0" VerticalAlignment="Stretch">
				<Button Width="Auto" Content="{Binding Name, Mode=Default}" Style="{DynamicResource TransparentButtonStyle}" Foreground="White" Cursor="Hand" Command="{Binding SearchTrendCommand, Mode=Default}"/>
			</Border>
		</DataTemplate>
		<Style x:Key="TrendsControlStyle" TargetType="{x:Type ItemsControl}">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type ItemsControl}">
						<Border SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
							<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<ItemsPanelTemplate x:Key="TrendsItemsPanelTemplate">
			<StackPanel IsItemsHost="True" Orientation="Horizontal"/>
		</ItemsPanelTemplate>
		<Style x:Key="TransparentButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border HorizontalAlignment="Center" VerticalAlignment="Center" Background="#00000000">
							<ContentPresenter Width="Auto" Height="Auto"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsKeyboardFocused" Value="true"/>
							<Trigger Property="ToggleButton.IsChecked" Value="true"/>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</UserControl.Resources>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="_newTwittBt">
			<BeginStoryboard x:Name="ShowNewTwittControl_BeginStoryboard" Storyboard="{StaticResource ShowNewTwittControl}"/>
		</EventTrigger>
	</UserControl.Triggers>

	<Grid x:Name="LayoutRoot" DataContext="{Binding Twitter, Mode=Default, Source={StaticResource SingletonsDataSource}}">
		
		<Grid Height="Auto" Background="{x:Null}">
			<StackPanel Height="Auto" Orientation="Vertical">
				<Border x:Name="border" Height="5" Background="#FF07151F" BorderBrush="#FF07151F" BorderThickness="1,1,1,1">
					<Grid Margin="-1,-1,-1,0">
						<TextBox x:Name="_searchTbx" HorizontalAlignment="Left" Margin="5,7,0,0" VerticalAlignment="Top" FontFamily="Calibri" FontSize="10" FontStyle="Italic" Foreground="#FF6C6C6C" Text="type search here ..." TextWrapping="Wrap" d:LayoutOverrides="Height" Width="230">
							<TextBox.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFC9C9C9" Offset="0"/>
									<GradientStop Color="#FFF0F1F2" Offset="1"/>
								</LinearGradientBrush>
							</TextBox.Background>
						</TextBox>
						<Button x:Name="_showHideSearchBt" VerticalAlignment="Bottom" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" HorizontalAlignment="Right" Margin="0,0,9.75,-24.5" Style="{DynamicResource SearchBtTemplate}" Cursor="Hand">
							<Grid Width="44.812" Height="23.5">
								<Path Fill="#FF07151F" Stretch="Fill" Stroke="#FF07151F" Data="M9.8250042,17.166 L34.987808,17.166 C34.987808,20.388029 32.418409,23 29.196756,23 L15.658322,23 C12.43667,23 9.8250042,20.388029 9.8250042,17.166 z M0.5,0.5 L44.29107,0.5 C44.29107,0.49999982 35.089025,0.49999982 35.089025,7.0826839 35.089025,9.7135676 35.005692,14.409161 35.005692,17.147749 35.005692,17.186333 9.8443402,17.186863 9.8443402,17.186863 L9.7610069,7.4417394 C9.7610069,7.4417394 9.5172954,0.49999982 0.5,0.5 z"/>
								<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Margin="21.187,4.25,14.625,10.25" Data="M4.4990001,1.301 C2.731689,1.301 1.299,2.7336888 1.2989999,4.5009999 1.299,6.268311 2.731689,7.7010002 4.4990001,7.7010002 6.2663112,7.7010002 7.6989999,6.268311 7.6989999,4.5009999 7.6989999,2.7336888 6.2663112,1.301 4.4990001,1.301 z M4.5,0 C6.9852815,0 9,2.0147188 9,4.5 9,6.9852815 6.9852815,9 4.5,9 2.0147188,9 0,6.9852815 0,4.5 0,2.0147188 2.0147188,0 4.5,0 z"/>
								<Path Fill="#FF424242" Stretch="Fill" Stroke="#FFFFFFFF" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="2" Margin="16.625,11.103,20.938,4.396" Data="M25.486379,9.0561823 L18.700377,16.4853"/>
							</Grid>
						</Button>
						<Button x:Name="_doSearchBt" HorizontalAlignment="Right" Margin="0,6,5,0" Content="Search" VerticalAlignment="Top" FontFamily="Calibri" BorderBrush="#FF000000" FontSize="11" Width="45" Foreground="#FF2E2E2E" Cursor="Hand" Height="20" IsEnabled="False">
							<Button.Background>
								<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
									<GradientStop Color="#FFC9C9C9" Offset="0"/>
									<GradientStop Color="#FFF0F1F2" Offset="1"/>
								</LinearGradientBrush>
							</Button.Background>
						</Button>
						<Rectangle Fill="#FF2E6487" Stroke="{x:Null}" HorizontalAlignment="Stretch" Width="Auto" VerticalAlignment="Top" Height="1"/>
					</Grid>
				</Border>
				<TabControl x:Name="_tabControl" Width="298" Height="452" IsSynchronizedWithCurrentItem="True" Background="{x:Null}" BorderBrush="#FF548EC1" Foreground="#FFFFFFFF" Style="{DynamicResource NavigatorTabControlStyle}" TabStripPlacement="Top" Margin="0,5,0,0" BorderThickness="1,1,1,0">
					<TabItem x:Name="_allTwiitsTab" Header="all" BorderBrush="#FF478CBF" Foreground="#FFFFFFFF" Style="{DynamicResource NavigatorTabStyle}" FontFamily="Calibri" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16">
						<Grid Height="Auto" VerticalAlignment="Top">
							<!--<CustomControls:IMessagesControl x:Name="_allIMessagesControl" VerticalAlignment="Top" Width="Auto" DataContext="{Binding AllReceivedMessages, Mode=Default}" Opacity="1"/>-->
							<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer x:Name="_allIMessagesBreadcrumbExplorer" FirstEntity="{Binding AllReceivedMessages, Mode=Default}" Tag="AllTab"  BreadcrumbBorder="#FF07151F" Height="427" Width="296">
								<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF102E45"/>
										<GradientStop Color="#FF0A1D2C" Offset="0.5"/>
										<GradientStop Color="#FF07151F" Offset="0.501"/>										
										<GradientStop Color="#FF07151F" Offset="1"/>
									</LinearGradientBrush>
								</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
							</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer>
						</Grid>
					</TabItem>
					<TabItem x:Name="_directMessagesTab" Header="direct" Foreground="#FFFFFFFF" Style="{DynamicResource NavigatorTabStyle}" FontFamily="Calibri" FontSize="16" Width="56">
						<Grid>
							<!--<CustomControls:IMessagesControl x:Name="_dmIMessagesControl" d:LayoutOverrides="Width, Height" DataContext="{Binding DirectMessages, Mode=Default}"/>-->
							<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer x:Name="_dmIMessagesBreadcrumbExplorer" Tag="DmTag" FirstEntity="{Binding DirectMessages, Mode=Default}" BreadcrumbBorder="#FF07151F" Height="427" Width="296">
								<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF102E45"/>
										<GradientStop Color="#FF0A1D2C" Offset="0.5"/>
										<GradientStop Color="#FF07151F" Offset="0.501"/>										
										<GradientStop Color="#FF07151F" Offset="1"/>
									</LinearGradientBrush>
								</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
							</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer>
						</Grid>
					</TabItem>
					<TabItem x:Name="_mentionsTab" Header="mentions" Style="{DynamicResource NavigatorTabStyle}" Foreground="#FFFFFFFF" FontFamily="Calibri" FontSize="16" Width="70">
						<Grid>
							<!--<CustomControls:IMessagesControl x:Name="_mentionsIMessagesControl" d:LayoutOverrides="Width, Height" DataContext="{Binding Mentions, Mode=Default}"/>-->
							<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer x:Name="_mentionsIMessagesBreadcrumbExplorer" FirstEntity="{Binding Mentions, Mode=Default}" Tag="mentionsTab"  BreadcrumbBorder="#FF07151F" Height="427" Width="296">
								<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF102E45"/>
										<GradientStop Color="#FF0A1D2C" Offset="0.5"/>
										<GradientStop Color="#FF07151F" Offset="0.501"/>										
										<GradientStop Color="#FF07151F" Offset="1"/>
									</LinearGradientBrush>
								</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
							</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer>
						</Grid>
					</TabItem>
					<TabItem x:Name="_searchTab" Header="search" Style="{DynamicResource NavigatorTabStyle}" Foreground="#FFFFFFFF" FontFamily="Calibri" FontSize="16" Width="61" Visibility="Collapsed">
						<Grid>
							<!--<CustomControls:IMessagesControl x:Name="_searchIMessagesControl" d:LayoutOverrides="Width, Height" DataContext="{Binding LastSearchResults, Mode=Default}"/>-->
							<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer x:Name="_searchIMessagesBreadcrumbExplorer" FirstEntity="{Binding LastSearchResults, Mode=Default}" Tag="searchTab"  BreadcrumbBorder="#FF07151F" Height="427" Width="296">
								<myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
									<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
										<GradientStop Color="#FF102E45"/>
										<GradientStop Color="#FF0A1D2C" Offset="0.5"/>
										<GradientStop Color="#FF07151F" Offset="0.501"/>										
										<GradientStop Color="#FF07151F" Offset="1"/>
									</LinearGradientBrush>
								</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer.BreadcrumbBackground>
							</myBoard_Framework_Controls_Navigation:BreadcrumbExplorer>
						</Grid>
					</TabItem>
				</TabControl>
				<StackPanel VerticalAlignment="Top" Height="Auto" Width="298">
					<Border x:Name="_newTweetBlock" Height="0" BorderBrush="{x:Null}" VerticalAlignment="Top" d:LayoutOverrides="Width">
						<Border x:Name="border_Copy1" VerticalAlignment="Bottom" Height="Auto" BorderThickness="0,0,0,0" BorderBrush="{x:Null}" d:LayoutOverrides="Width, GridBox" Padding="0,0,0,5">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FF1A3A4D" Offset="0"/>
									<GradientStop Color="#FF0C283A" Offset="1"/>
									<GradientStop Color="#FF163549" Offset="0.034"/>
									<GradientStop Color="#FF0F2C41" Offset="0.543"/>
								</LinearGradientBrush>
							</Border.Background>
							<StackPanel>
								<Rectangle Fill="#FF3774A1" Stroke="{x:Null}" HorizontalAlignment="Stretch" Width="Auto" Height="1"/>
								<Grid Height="Auto" Background="{x:Null}" Width="Auto">
									<StackPanel Margin="7,7,7,0" Height="Auto" Orientation="Vertical">
										<TextBox x:Name="_textMsg" HorizontalAlignment="Stretch" TextWrapping="Wrap" BorderBrush="#FFF7F7F8" FontSize="11" Margin="0,0,0,0" Style="{DynamicResource MessageTextboxStyle}" VerticalAlignment="Top" Width="278" Height="38" Text="" TextChanged="_textMsg_TextChanged">
											<TextBox.Background>
												<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
													<GradientStop Color="#FFC9C9C9" Offset="0"/>
													<GradientStop Color="#FFF0F1F2" Offset="1"/>
												</LinearGradientBrush>
											</TextBox.Background>
										</TextBox>
										<StackPanel HorizontalAlignment="Stretch" Margin="0,6,0,0" VerticalAlignment="Bottom" Width="Auto" Height="23" Orientation="Horizontal">
											<Button x:Name="_sendBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="send" Margin="0,0,0,0" Style="{DynamicResource ButtonStyle1}" Cursor="Hand" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF">
												<Button.Background>
													<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
														<GradientStop Color="#FF132F44" Offset="0.616"/>
														<GradientStop Color="#FF214358" Offset="1"/>
													</LinearGradientBrush>
												</Button.Background>
											</Button>
											<Button x:Name="_cancelBt" HorizontalAlignment="Stretch" VerticalAlignment="Top" Content="cancel" Margin="10,0,0,0" Style="{DynamicResource ButtonStyle1}" Width="60" Height="23" BorderBrush="#FF16364C" Foreground="#FFFFFFFF" Cursor="Hand">
												<Button.Background>
													<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
														<GradientStop Color="#FF132F44" Offset="0.616"/>
														<GradientStop Color="#FF214358" Offset="1"/>
													</LinearGradientBrush>
												</Button.Background>
											</Button>
										</StackPanel>
									</StackPanel>
								</Grid>
							</StackPanel>
						</Border>
					</Border>
					<Border x:Name="_trendsBlock" Height="20" BorderBrush="{x:Null}" BorderThickness="1,0" d:LayoutOverrides="Width" Background="#FF07151F">
						<Canvas Background="{x:Null}">
							<Rectangle Fill="#FF2E6487" Stroke="{x:Null}" HorizontalAlignment="Stretch" Width="296" Height="1"/>							
							<myBoard_Framework_Controls:MarkeeControl x:Name="_trendsMarkee" Margin="0" Background="{x:Null}" VerticalAlignment="Center" Canvas.Top="0" Width="295" Height="19">
								<!--<TextBlock Text="Mac OS X 10.6.2, the forthcoming update for Apple's Snow Leopard operating system, is reported to disable support for the Intel Atom processor, preventing unauthorized PC netbooks from running the operating system." Foreground="White"/>-->
								<ItemsControl ItemsSource="{Binding Trends.CurrentTrends, Mode=Default}" ItemTemplate="{DynamicResource TrendTopicDataTemplate}" Style="{DynamicResource TrendsControlStyle}" ItemsPanel="{DynamicResource TrendsItemsPanelTemplate}" HorizontalAlignment="Left"/>
							</myBoard_Framework_Controls:MarkeeControl>
						</Canvas>
					</Border>
					<Border Height="Auto" BorderBrush="{x:Null}" BorderThickness="1,0,1,1" CornerRadius="0,0,10,10" d:LayoutOverrides="Width">
						<Border.Background>
							<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
								<GradientStop Color="#FF1B3F55" Offset="0"/>
								<GradientStop Color="#FF122D40" Offset="1"/>
								<GradientStop Color="#FF142F41" Offset="0.53"/>
							</LinearGradientBrush>
						</Border.Background>
						<Grid Background="{x:Null}">
							<Rectangle Fill="#FF3774A1" Stroke="{x:Null}" HorizontalAlignment="Stretch" Width="Auto" Height="1" VerticalAlignment="Top"/>
							<Button x:Name="_newTwittBt" HorizontalAlignment="Left" Margin="10,9,0,9" VerticalAlignment="Top" Height="28" BorderBrush="#FF0C2535" Style="{DynamicResource BottomButtonStyle}" Cursor="Hand">
								<Button.Background>
									<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
										<GradientStop Color="#FF214861" Offset="0"/>
										<GradientStop Color="#FF143043" Offset="1"/>
										<GradientStop Color="#FF143043" Offset="0.103"/>
										<GradientStop Color="#FF254C65" Offset="0.552"/>
										<GradientStop Color="#FF143144" Offset="0.565"/>
									</LinearGradientBrush>
								</Button.Background>
								<StackPanel Width="100" Height="Auto" Orientation="Horizontal">
									<Grid Height="12" Width="12" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="4,0,0,0">
										<Ellipse Stroke="{x:Null}">
											<Ellipse.Fill>
												<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
													<GradientStop Color="#FF70BB00" Offset="0"/>
													<GradientStop Color="#FF426312" Offset="1"/>
												</LinearGradientBrush>
											</Ellipse.Fill>
										</Ellipse>
										<Rectangle Fill="#FFEAEAEA" Stroke="{x:Null}" RadiusX="4" RadiusY="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="2" Height="7" RenderTransformOrigin="0.5,0.5">
											<Rectangle.RenderTransform>
												<TransformGroup>
													<ScaleTransform ScaleX="1" ScaleY="1"/>
													<SkewTransform AngleX="0" AngleY="0"/>
													<RotateTransform Angle="0"/>
													<TranslateTransform X="0" Y="0"/>
												</TransformGroup>
											</Rectangle.RenderTransform>
										</Rectangle>
										<Rectangle Fill="#FFEAEAEA" Stroke="{x:Null}" RadiusX="4" RadiusY="1" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center" Width="2" Height="7">
											<Rectangle.RenderTransform>
												<TransformGroup>
													<ScaleTransform ScaleX="1" ScaleY="1"/>
													<SkewTransform AngleX="0" AngleY="0"/>
													<RotateTransform Angle="-90"/>
													<TranslateTransform X="0" Y="0"/>
												</TransformGroup>
											</Rectangle.RenderTransform>
										</Rectangle>
										<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="{x:Null}" Data="M13.052509,2.3232668 C13.36931,2.6772851 12.142389,4.9803918 8.000253,4.9803918 3.8581174,4.9803918 -0.76779382,12.671715 -0.76779382,8.5295795 -0.76779382,4.3874439 3.3622631,-0.65426872 7.5984361,-0.61814749 8.1821115,-0.61317058 10.484353,-0.54659397 13.052509,2.3232668 z" Margin="0.172,-0.019,1.644,5.501" Opacity="0.255"/>
									</Grid>
									<TextBlock Text="New tweet" TextWrapping="Wrap" FontSize="12" Margin="10,0,0,0" Foreground="#FFDEDEDE" FontFamily="Calibri"/>
								</StackPanel>
							</Button>
						</Grid>
					</Border>
				</StackPanel>
			</StackPanel>
		</Grid>
	</Grid>
</UserControl>